package stats;

public class ClubStats {

	private int games;
	private int goals;
	private int concieved;
	private int difference;
	private int yellowCards;
	private int redCards;
	private int wins;
	private int loses;
	private int draws;
	private int rank;
	//private Player topGoalScorer;
	
	public ClubStats(){
		super();
		this.games = 0 ;
		this.goals = 0;
		this.concieved = 0;
		this.difference = setDifference();
		this.yellowCards = 0;
		this.redCards = 0;
		this.wins = 0;
		this.loses = 0;
		this.draws = 0;
		this.rank = 0;
	}
	
	public ClubStats(int games, int goals, int yellowCards, int redCards,
			int wins, int loses, int draws) {
		super();
		this.games = games;
		this.goals = goals;
		this.yellowCards = yellowCards;
		this.redCards = redCards;
		this.wins = wins;
		this.loses = loses;
		this.draws = draws;
	}
	
	public int getGames() {
		return games;
	}
	public void setGames(int games) {
		this.games = games;
	}
	public int getGoals() {
		return goals;
	}
	public void setGoals(int goals) {
		this.goals = goals;
	}
	public int getYellowCards() {
		return yellowCards;
	}
	public void setYellowCards(int yellowCards) {
		this.yellowCards = yellowCards;
	}
	public int getRedCards() {
		return redCards;
	}
	public void setRedCards(int redCards) {
		this.redCards = redCards;
	}
	public int getWins() {
		return wins;
	}
	public void setWins(int wins) {
		this.wins = wins;
	}
	public int getLoses() {
		return loses;
	}
	public void setLoses(int loses) {
		this.loses = loses;
	}
	public int getDraws() {
		return draws;
	}
	public void setDraws(int draws) {
		this.draws = draws;
	}

	public int getConcieved() {
		return concieved;
	}

	public void setConcieved(int concieved) {
		this.concieved = concieved;
	}

	public int getDifference() {
		return difference;
	}

	private int setDifference() {
		return this.difference = goals - concieved;
	}

	public int getRank() {
		return rank;
	}

	public void setRank(int rank) {
		this.rank = rank;
	}
	
}
